<script lang="ts" setup>
import { ConfigProvider } from 'ant-design-vue';

defineOptions({ name: 'App' });
import zhCN from 'ant-design-vue/es/locale/zh_CN';
import dayjs from 'dayjs';
import 'dayjs/locale/zh-cn';
dayjs.locale('zh-cn');
</script>

<template>
  <ConfigProvider :locale="zhCN">
    <router-view />
  </ConfigProvider>
</template>

<style>
:root {
  --animate-duration: 0.75s !important;
}
body,
html {
  padding: 0;
  margin: 0;
}

/* antd 分页样式重置 */

.ant-pagination-item-link,
.ant-pagination-item {
  border-radius: 5px !important;
}

.ant-message {
  z-index: 3002 !important;
}
</style>
